/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.bionic.idao;

import com.bionic.entity.Users;
import java.util.ArrayList;

/**
 *
 * @author Obuhov Denis
 */
 public interface IUserDAO {
      public  ArrayList<Users> findAll();
      public  Users findById(Integer id);
      public  Integer update (Users someUser);
      public  Integer insert (Users someUser);
      public  Integer deleteById (Integer id);
      public  Users findByUserAndPassword(String login, String pass);    
 }
